$OpenBSD: patch-setup_py,v 1.2 2015/04/21 11:35:53 jca Exp $
--- setup.py.orig	Thu Apr  8 00:58:11 2010
+++ setup.py	Mon Apr 13 03:44:57 2015
@@ -49,6 +49,9 @@ elif -1 != platform.find("freebsd"):
 elif -1 != platform.find("netbsd"):
     extra_link_args = ['-L/usr/pkg/lib']
     extra_compile_args = ['-I/usr/pkg/include']                                                                                                         
+elif -1 != platform.find("openbsd"):
+	extra_link_args =['-L_LOCALBASE_/lib']
+	extra_compile_args = ['-I_LOCALBASE_/include']
 
 usbmodule = Extension(name = 'usb',
                     libraries = libraries,
